import {
  RECEIVE_USER_LIST,
  RECEIVE_USER_LIAN,
  RECEIVE_GOODS,
} from "./mutation-types";
export default {
  // 用户基本信息
  [RECEIVE_USER_LIST](state, { userList }) {
    state.userList = userList;
  },
  // 联系人
  [RECEIVE_USER_LIAN](state, { userlian }) {
    state.userlian = userlian;
  },
  // 商品列表
  [RECEIVE_GOODS](state, { goods }) {
    state.goods = goods;
  },
  SET_TOKEN: (state, token) => {
    state.token = token;
  },
  SET_CARDID: (state, CardId) => {
    state.CardId = CardId;
  },
};
